package com.wdc.patterns.decorator;

/**
 * 炒饭(具体构建角色）
 *
 */
public class FiredRice extends FastFood{

    public FiredRice() {
        super(10, "炒饭");
    }

    @Override
    public float cost() {
        return getPrice();
    }

}
